package com.gaussian.property.app.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @description:
 * @author: songqi(13776346982)
 * @date: 2024/4/10 08:44
 */
@Data
@ApiModel("稽核表单")
public class CheckForm {

    @ApiModelProperty("临时稽核记录id")
    @NotBlank(message = "临时稽核记录id必传")
    private String tempProjectCheckRecordId;

    @ApiModelProperty("项目id")
    @NotBlank(message = "项目未配置稽核表，联系管理员")
    private String projectId;

    @ApiModelProperty("稽核表Id")
    @NotBlank(message = "稽核表Id必传")
    private String checkTableId;


    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("图片列表")
    private List<String> imagePathList;


    @ApiModelProperty("稽核条目列表")
    @NotEmpty(message = "请至少完成1项以上的标准稽核评分后进行提交")
    private List<CheckItem> checkItemList;

}
